#define admin_header()
<div class="layui-header header header-demo">
<a class="logo" href="/admin">
    <img src="/img/logo.png" alt="layui">
</a>
<ul class="layui-nav layui-layout-left">
    <li class="layui-nav-item"><a href="/">首页</a></li>
    <li class="layui-nav-item"><a href="/blog/">博客</a></li>
    <li class="layui-nav-item"><a href="/user/">用户</a></li>
    <li class="layui-nav-item">
        <a href="javascript:;">其它系统</a>
        <dl class="layui-nav-child">
            <dd><a href="">邮件管理</a></dd>
            <dd><a href="">消息管理</a></dd>
            <dd><a href="">授权管理</a></dd>
        </dl>
    </li>
</ul>
<ul class="layui-nav layui-layout-right">
    <li class="layui-nav-item">
        <a href="javascript:;">
            <img src="/img/glasses.jpg" class="layui-nav-img">
            Admin
        </a>
        <dl class="layui-nav-child">
            <dd><a href="">基本资料</a></dd>
            <dd><a href="">安全设置</a></dd>
        </dl>
    </li>
    <li class="layui-nav-item"><a href="/user/logout">退了</a></li>
</ul>
</div>
#end